/*
** axe_y.c for  in /home/jousse_f//afs/rendu/math/103interpol
** 
** Made by florian jousseau
** Login   <jousse_f@epitech.net>
** 
** Started on  Tue Mar  1 15:57:31 2011 florian jousseau
** Last update Tue Mar  1 18:15:04 2011 florian jousseau
*/

#include "include/103.h"

int	tiret_y(t_pos *param)
{
  int	x;
  int	y;

  y = 50;
  x = 105;
  while (y < 1000)
  {
    while (x > 95)
    {
      mlx_pixel_put(param->mlx_ptr, param->win_ptr, x, y, 0xFFFFFF);
      x--;
    }
    x = 105;
    y = y + 50;
  }
  aff_pos(param);
  return (0);
}

int	axe_y(t_pos *param)
{
  int	x;
  int	y;

  y = 0;
  x = 100;
  while (y < 1000)
  {
    mlx_pixel_put(param->mlx_ptr, param->win_ptr, x, y, 0xFFFFFF);
    y++;
  }
  axe_x(param);
  return (0);
}
